home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
CPODI.z
/
CPODI
Wrap
Text File
|
1996-03-14
|
2KB
|
67 lines
CCCCPPPPOOOODDDDIIII((((3333FFFF)))) CCCCPPPPOOOODDDDIIII((((3333FFFF))))
NNNNAAAAMMMMEEEE
CPODI - CPODI computes the determinant and inverse of a certain complex
Hermitian positive definite matrix (see below) using the factors computed
by CPOCO, CPOFA or CQRDC.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
SUBROUTINE CPODI(A,LDA,N,DET,JOB)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Entry
AAAA COMPLEX(LDA, N)
the output A from CPOCO or CPOFA
or the output X from CQRDC.
LLLLDDDDAAAA INTEGER
the leading dimension of the array A .
NNNN INTEGER
the order of the matrix A .
JJJJOOOOBBBB INTEGER
= 11 both determinant and inverse.
= 01 inverse only.
= 10 determinant only. On Return
AAAA If CPOCO or CPOFA was used to factor A then
CPODI produces the upper half of INVERSE(A) .
If CQRDC was used to decompose X then
CPODI produces the upper half of INVERSE(CTRANS(X)*X)
where CTRANS(X) is the conjugate transpose.
Elements of A below the diagonal are unchanged.
If the units digit of JOB is zero, A is unchanged.
DDDDEEEETTTT REAL(2)
determinant of A or of CTRANS(X)*X if requested.
Otherwise not referenced.
Determinant = DET(1) * 10.0**DET(2)
with 1.0 .LE. DET(1) .LT. 10.0
or DET(1) .EQ. 0.0 . Error Condition a division by zero will occur
if the input factor contains a zero on the diagonal and the inverse is
requested. It will not occur if the subroutines are called correctly and
if CPOCO or CPOFA has set INFO .EQ. 0 . LINPACK. This version dated
08/14/78 . Cleve Moler, University of New Mexico, Argonne National Lab.
Subroutines and Functions BLAS CAXPY,CSCAL Fortran CONJG,MOD,REAL
PPPPaaaaggggeeee 1111